<template>
  <div class="digital-number-wrap" :style="`height: ${size*2 + 8}px;width: ${size + 8}px;`">
    <div class="digital-number-dot" :style="`background-color: ${ color }`"></div>
  </div>
</template>

<script>
export default {
  name: 'NumberDot',
  props: {
    size: {
      type: Number,
      default: 10
    },
    color: {
      type: String,
      default: '#000'
    }
  }
}
</script>

<style scoped>
.digital-number-wrap{
  display: flex;
  justify-content: flex-end;
  align-items: flex-end;
}
.digital-number-dot{
  height: 4px;
  width: 4px;
  position: relative;
  left: 4px;
  top: 4px;

}
</style>